package com.atguigu.ioc_01;

import org.springframework.stereotype.Component;

/**
 * projectName: com.atguigu.components
 *
 * description: 普通的组件
 * 1.标记注解 @Component
 * 2.配置指定包
 */
@Component(value = "ergou") //等于bean标签 @Component(value = "ergou")等价于@Component("ergou")
public class CommonComponent {
}
